package com.maxh.service;

import com.maxh.pojo.Admin;
import com.maxh.pojo.Teacher;
import com.maxh.pojo.User;

import java.util.Map;

public interface LoginService {
    Admin findByUserNum(String userNum);

    Teacher findByTeacherNum(String userNum);

    User findByStudentNum(String userNum);

    Admin findAdminById(String adminId);

    Teacher findTeacherById(String teacherId);

    User findUserById(String userId);

    Boolean updateAdminPassword(String adminId, String password);


    Boolean updateUserPassword(String userId, String newPassword);
}
